<?xml version="1.0" encoding="UTF-8"?>
<!--
  Created by IntelliJ IDEA.
  User: Kirito
  Date: 24.11.12
  Time: 2:31
-->
<!DOCTYPE html
        PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui">

<h:body>
    <p:panel id="blockdlf_panel">
        <h:outputText
                value="Are you sure to block #{usersBean.selectedUser.login} user?" />
        <h:inputHidden value="#{usersBean.selectedUser.id}" />
        <p:commandButton id="Yes" value="Yes"   update=":users_list_form:usersTable"
                         actionListener="#{usersBean.blockUser}"  />

        <p:commandButton id="No" value="No" actionListener="#{usersBean.closeBlockDialog}" />
    </p:panel>
</h:body>

</html>